
file(GLOB_RECURSE srcs *.c

                    )

set(include_dirs 
                    . 
                    
                    )               
        
idf_component_register(
                    SRCS ${srcs}       
                    INCLUDE_DIRS   ${include_dirs}          
                    REQUIRES  esp_lcd driver  esp_wifi driver esp_http_client lvgl nvs_flash  GUI BSP esp-tls json dht fatfs
                    EMBED_TXTFILES  ca_cert.pem
                    )
                    target_compile_options(${COMPONENT_LIB} PUBLIC "-Wno-format-truncation")
                    target_compile_options(${COMPONENT_LIB} PUBLIC "-Wno-pointer-sign") 
                    target_compile_options(${COMPONENT_LIB} PUBLIC "-Wno-discarded-qualifiers") 
                    target_compile_options(${COMPONENT_LIB} PUBLIC "-Wno-unused-function") 
                    target_compile_options(${COMPONENT_LIB} PUBLIC "-Wno-cast-function-type") 
                    target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-stringop-truncation") 
                    